import request from '@/utils/request'

/**
 * 环境信息
 * @param {*} data
 */
export function reportEnvironmentQueryAPI(reportId) {
  return request({
    url: `oaExecutionReportEnvironment/queryInfoByReportId/${reportId}`,
    method: 'post'
  })
}
/**
 * 修改环境信息
 * @param {*} data
 */
export function reportEnvironmentUpdateAPI(data) {
  return request({
    url: `oaExecutionReportEnvironment/update`,
    method: 'post',
    data: data,
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    }
  })
}

